﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace YixiaoIdentity.Auth.Models
{
    public class Sys_Roles
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }
        public string Name { get; set; }

        public List<Sys_UserRoles> Sys_UserRoles { get; set; }
        public List<Sys_Controllers> Controllers { get; set; }

    }
}
